home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 21
/
Aminet 21 (1997)(GTI - Schatztruhe)[!][Oct 1997].iso
/
Aminet
/
util
/
virus
/
FastKiller.lha
/
ScanDirs
< prev
Wrap
Text File
|
1997-08-19
|
1KB
|
39 lines
.Bra {
.Ket }
.Key DIRECTORY/A,QUIET/S,NOSAVE/S
; First, we just do a memory clean. (Also self cleans FastVirusKiller)
FastVirusKiller
;Memory is clean, so now we make it resident, to speed things up a little.
Resident FastVirusKiller FORCE
;Make sure the commands this script uses are clean ;-)
If exists C:List
FastVirusKiller C:List QUIET
Endif
If exists C:Execute
FastVirusKiller C:Execute QUIET
Endif
If exists C:Delete
FastVirusKiller C:Delete QUIET
EndIf
If exists C:Protect
FastVirusKiller C:Protect QUIET
Endif
Echo ------------------------------------------------------------
Echo $VER: ScanDirs v1.3
Echo © 1997 Dave Jones. Part of the FastVirusKiller distribution.
Echo ------------------------------------------------------------
Echo Scanning {DIRECTORY}...
;Build a script to recursively scan the entire harddisk.
C:List {DIRECTORY} LFORMAT "FastVirusKiller %p%n {QUIET} {NOSAVE}" ALL FILES NOHEAD PAT=~(#?.info|#?.lha|#?.lzx||#?.zip|#?.iff|#?.mod|#?.gif|#?.jpg|#?.jpeg|#?.library|#?.device) >T:FK.tmp
C:Execute T:FK.tmp
Echo Scanning Complete.
;Clean up ;-)
C:Delete T:FK.tmp QUIET
Resident FastVirusKiller Remove